package com.bwie.controller;

import com.bwie.service.Openfeignsss;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/fsdfas")
@RestController
public class TestOpenFeign {

    @Qualifier("com.bwie.service.Openfeignsss")
    @Autowired
    Openfeignsss openfeignsss;

    @PostMapping("/asdf")
    public String asdf(){
        String feigntest = openfeignsss.feigntest();
        return feigntest;
    }
}
